package com.android.youwenchuang.bean;

import org.greenrobot.greendao.annotation.Entity;
import org.greenrobot.greendao.annotation.Id;
import org.greenrobot.greendao.annotation.Index;
import org.greenrobot.greendao.annotation.NotNull;
import org.greenrobot.greendao.annotation.Generated;

@Entity(
        indexes = {
                @Index(value = "date DESC", unique = false)
        }
)
public class Circle {

    @Id(autoincrement = true)
    private Long id;

    @NotNull
    private String title;
    @NotNull
    private String text;
    private String user;
    private java.util.Date date;
    private String image;
@Generated(hash = 1361280379)
public Circle(Long id, @NotNull String title, @NotNull String text, String user,
        java.util.Date date, String image) {
    this.id = id;
    this.title = title;
    this.text = text;
    this.user = user;
    this.date = date;
    this.image = image;
}
@Generated(hash = 2062793395)
public Circle() {
}
public Long getId() {
    return this.id;
}
public void setId(Long id) {
    this.id = id;
}
public String getTitle() {
    return this.title;
}
public void setTitle(String title) {
    this.title = title;
}
public String getText() {
    return this.text;
}
public void setText(String text) {
    this.text = text;
}
public String getUser() {
    return this.user;
}
public void setUser(String user) {
    this.user = user;
}
public java.util.Date getDate() {
    return this.date;
}
public void setDate(java.util.Date date) {
    this.date = date;
}
public String getImage() {
    return this.image;
}
public void setImage(String image) {
    this.image = image;
}
}
